﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>添加新题型</title>
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
</head>
<body>

    <div class="container mt-5">
        <h2>添加新题型</h2>
        <form asp-controller="Questions" asp-action="QTSumbit" method="post">
            <div class="form-group">
                <label for="type_name">题型名称:</label>
                <input type="text" class="form-control" id="type_name" placeholder="输入题型名称" name="type_name" required>
            </div>

            <div class="form-group">
                <label for="type_desc">题型描述:</label>
                <textarea class="form-control" id="type_desc" placeholder="输入题型描述" name="type_desc" rows="4"></textarea>
            </div>

            <div class="form-group">
                <label for="type_score">题型分值:</label>
                <input type="number" class="form-control" id="type_score" placeholder="输入题型分值" name="type_score" required>
            </div>

            <button type="submit" class="btn btn-primary">提交</button>
        </form>
    </div>

    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>

</body>
</html>
